.class Lcom/TwinBlade/PicturePassword/ap;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/TwinBlade/PicturePassword/Main;


# direct methods
.method constructor <init>(Lcom/TwinBlade/PicturePassword/Main;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/TwinBlade/PicturePassword/ap;->a:Lcom/TwinBlade/PicturePassword/Main;

    .line 93
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/TwinBlade/PicturePassword/ap;)Lcom/TwinBlade/PicturePassword/Main;
    .locals 1
    .parameter

    .prologue
    .line 93
    iget-object v0, p0, Lcom/TwinBlade/PicturePassword/ap;->a:Lcom/TwinBlade/PicturePassword/Main;

    return-object v0
.end method


# virtual methods
.method public run()V
    .locals 3

    .prologue
    .line 95
    new-instance v0, Landroid/app/AlertDialog$Builder;

    iget-object v1, p0, Lcom/TwinBlade/PicturePassword/ap;->a:Lcom/TwinBlade/PicturePassword/Main;

    invoke-static {v1}, Lcom/TwinBlade/PicturePassword/Main;->a(Lcom/TwinBlade/PicturePassword/Main;)Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 96
    const-string v1, "Update Available"

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    .line 97
    const-string v1, "New update available. Please download from Play Store."

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    .line 98
    iget-object v1, p0, Lcom/TwinBlade/PicturePassword/ap;->a:Lcom/TwinBlade/PicturePassword/Main;

    const v2, 0x7f090024

    invoke-virtual {v1, v2}, Lcom/TwinBlade/PicturePassword/Main;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 99
    new-instance v2, Lcom/TwinBlade/PicturePassword/aq;

    invoke-direct {v2, p0}, Lcom/TwinBlade/PicturePassword/aq;-><init>(Lcom/TwinBlade/PicturePassword/ap;)V

    .line 98
    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    .line 108
    const-string v1, "Ignore"

    .line 109
    new-instance v2, Lcom/TwinBlade/PicturePassword/ar;

    invoke-direct {v2, p0}, Lcom/TwinBlade/PicturePassword/ar;-><init>(Lcom/TwinBlade/PicturePassword/ap;)V

    .line 108
    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    .line 115
    iget-object v1, p0, Lcom/TwinBlade/PicturePassword/ap;->a:Lcom/TwinBlade/PicturePassword/Main;

    const v2, 0x7f090025

    invoke-virtual {v1, v2}, Lcom/TwinBlade/PicturePassword/Main;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 116
    new-instance v2, Lcom/TwinBlade/PicturePassword/as;

    invoke-direct {v2, p0}, Lcom/TwinBlade/PicturePassword/as;-><init>(Lcom/TwinBlade/PicturePassword/ap;)V

    .line 115
    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setNeutralButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    .line 121
    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    .line 122
    iget-object v1, p0, Lcom/TwinBlade/PicturePassword/ap;->a:Lcom/TwinBlade/PicturePassword/Main;

    invoke-virtual {v1}, Lcom/TwinBlade/PicturePassword/Main;->isFinishing()Z

    move-result v1

    if-nez v1, :cond_0

    .line 124
    :try_start_0
    invoke-virtual {v0}, Landroid/app/AlertDialog;->show()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 128
    :cond_0
    :goto_0
    return-void

    .line 125
    :catch_0
    move-exception v0

    goto :goto_0
.end method
